/**
 * @file ebex_genetic_select.h
 *
 * @date Oct 21, 2011
 * @author seth
 *
 * @brief This file is part of EBEX State Estimator, created for the EBEX project
 *
 * This software is copyright (C) 2011 Columbia University
 *
 * EBEX State Estimator is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * EBEX State Estimator is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with EBEX State Estimator; if not, write to the Free Software Foundation, Inc.,
 * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef EBEX_GENETIC_SELECT_H_
#define EBEX_GENETIC_SELECT_H_

#include <ebex_lookup.h>

#define _genetic_select_types(x,_) \
			_(x,none)			\
			_(x,aggressive)		\
			_(x,every)			\
			_(x,random_rank)	\
			_(x,random)			\
			_(x,bestof2)		\
			_(x,bestof3)		\
			_(x,best)			\
			_(x,roulette_holland)\
			_(x,roulette)		\
			_(x,stochastic_seq)	\
			_(x,stochastic)		\
			_(x,linear_rank)

EBEX_LOOKUP_TABLE(genetic_select_type, static);

#include <ebex_genetic.h>
bool ebex_genetic_select_one(population_t *m_pop, organism_t **m_result, e_genetic_select_type m_type);
bool ebex_genetic_select_two(population_t *m_pop, organism_t **m_result1, organism_t **m_result2, e_genetic_select_type m_type);

#endif /* EBEX_GENETIC_SELECT_H_ */
